from rest_framework import serializers
from .models import *

class CatesSerializer(serializers.ModelSerializer):
    class Meta:
        model = CatesModel
        fields = '__all__'


class QuestionsSerializer(serializers.ModelSerializer):
    class Meta:
        model = QuestionsModel
        fields = '__all__'


class GoodsSerializer(serializers.ModelSerializer):
    class Meta:
        model = Goods
        fields = '__all__'


class BrowseHistorySerializer(serializers.ModelSerializer):
    class Meta:
        model = BrowseHistory
        fields = '__all__'